package com.sz.biz.logistics.ord.dto;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Function:物流状态，按opertype分类dto
 * Author: hpeng.wang.<br>
 * Date: 2017-06-10 10:00:00.
 */
public class TrackStatusOperTypeDto implements Serializable {
    private String operType;
    private String operTypeName;
    private List<OrderStatusCodeDto> codeDtoList = new ArrayList<>();

    public String getOperType() {
        return operType;
    }

    public void setOperType(String operType) {
        this.operType = operType;
    }

    public String getOperTypeName() {
        return operTypeName;
    }

    public void setOperTypeName(String operTypeName) {
        this.operTypeName = operTypeName;
    }

    public List<OrderStatusCodeDto> getCodeDtoList() {
        return codeDtoList;
    }

    public void setCodeDtoList(List<OrderStatusCodeDto> codeDtoList) {
        this.codeDtoList = codeDtoList;
    }
    public void addOrderStatusCodeDtoList(OrderStatusCodeDto codeDto){
        codeDtoList.add(codeDto);
    }
}
